package com.pxene.dmp.constant;

import java.util.Date;

import com.pxene.dmp.common.DateUtils;

public class FileSuffixTime {

	private static String date = DateUtils.getFormat(DateUtils.addHours(new Date(), -4), "yyyyMMdd");
	private static String hour = DateUtils.getFormat(DateUtils.addHours(new Date(), -4), "HH");

	public static void setDate(String d) {
		date = d;
	}

	public static void setHour(String h) {
		hour = h;
	}

	public static String getDate() {
		return date;
	}

	public static String getDatehour() {
		return date + hour;
	}

	public static String getHour() {
		return hour;
	}
}
